package com.gopay.common.user.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.UserInfo;

public interface UserInfoDAO  extends BaseDAO<UserInfo, Serializable> {

	/**
	 * 获取用户
	 * @param params
	 * @return
	 */
	public List<UserInfo> queryUsersByCondition(Map<String, Object> params);
	
	/**
	 * 查找用户
	 * @param startTime
	 * @param endTime
	 * @return
	 */
	public List<UserInfo> queryUsersByCreateTs(String startTime, String endTime);
	
	public List<UserInfo> getByCustId(String custId);
	/**
	 * add by tangyang at 20171020
	 * @param custId
	 * @param operId
	 * @return
	 */
	public UserInfo getByCustIdAndOperId(String custId,String operId);
}
